Systems and methods for preserving and maintaining document integrity

ABSTRACT

Systems and methods consistent with embodiments of the present invention provide for a method for preserving and maintaining document integrity. In some methods for preserving and maintaining document integrity, the contents of a document, or contents of a document layer may be encoded into a machine-readable form. In some embodiments, the encoded information may be represented using a 2-dimensional bar code. In some methods for preserving and maintaining document integrity, the machine-readable code is printed along with contents of the document based on space available in the document. In some embodiments, a printed document containing the machine-readable code may be scanned and digitized, and content extracted from the scanned data. In some embodiments, the machine-readable code printed on the document is used to recreate layer data from the printed document.

BACKGROUND

1. Field of the Invention

The present invention relates to the field of physical document management and, in particular, to systems and methods for preserving and maintaining the integrity of printed documents.

2. Description of Related Art

Electronic documents, such as those created using many document and/or word processing applications, generally have several layers of data. Each layer in the document, termed a “document layer,” contains some information related to the document or its contents. For example, the text seen by an end user creating, editing, or viewing a document may be represented in one layer of a document. Another layer may contain some of the drawings and/or figures that are part of the document. Finally, a third layer may contain the background over which the text and drawings are displayed. One of the advantages of organizing documents in layers is that each layer may be edited and/or created separately from other layers in the document. Thus, a layer may be changed without requiring any change in other layers associated with the document.

In addition to the layers described in the example above, a document may also contain “invisible layers.” These invisible layers may contain data pertaining to the document or its contents rather than actual document content that is seen by users. Such data is also often called meta-data. An invisible layer may include, for example, information about people who have edited or viewed any part of the document. Another invisible layer may contain indexing information such as terms that occur frequently in the document. Users editing or viewing the document do not normally see invisible layers. Menus provided by the document processing software may allow a user to explicitly request the information contained in an invisible layer in order to view the contents of that layer.

Invisible document layers may also be used by other applications or the operating system to enforce policies concerning the document. These policies may restrict the people who have access to the document or may prevent applications or users from making changes to portions of the document. Document layers may also be used to authenticate and ensure the integrity of a document. For example, an invisible document layer may contain a digital signature that can be used to establish that an electronic version of a document originated with the entity associated with the digital signature and that no changes were made to the document after it was digitally signed.

Although invisible layer data can be used electronically, for example, to authenticate the content of a document and protect against alteration while it is in electronic form, such protection ceases when the document is printed. Printed documents contain only the actual content of a document, and data stored in document layers is lost. Thus, once a document has been printed, a recipient has no way of determining where the document originated, or where it is stored, or whether the document was altered, even though such information may have been available in document layers.

Preservation of layer data in printed documents would allow recipients of a printed document to automatically recreate preserved layer data, associate the preserved layer data with a document's contents, and facilitate the enforcement and maintenance of policies associated with the printed document.

SUMMARY

In accordance with the present invention, systems and methods for maintaining and securing the integrity of printed documents are presented.

In some methods for preserving and maintaining document integrity, the contents of a document, or contents of a document layer may be encoded. In some embodiments, the encoded information may be stored in a document layer. In some embodiments, the encoded information may be represented using a 2-dimensional bar code. In some methods for preserving and maintaining document integrity, unused space available on each page or section of the document is determined along with the space required to print the encoded information. In some embodiments, if a page has sufficient space to print the code, the encoded information corresponding to a page or a document section may be printed on unused portions of that page or section along with its contents. In some embodiments, if there is insufficient space to print the encoded information on a page or document section, then the encoded information may be printed after all the document content has been printed.

In some methods for preserving and maintaining document integrity, a printed document with encoded information corresponding to contents of pages, or sections of the document, may be scanned and digitized. In some embodiments, the printed encoded information may be in the form of a two-dimensional bar code. In some embodiments, the scanned document data may be processed using character recognition and/or image processing algorithms to extract document content. In some embodiments, additional content may also be extracted from the encoded data printed on the document. In some embodiments, the content extracted from encoded data may be stored in a document layer. These and other embodiments are further explained below with respect to the following figures.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a block diagram of a system for preserving and maintaining document integrity according to some embodiments of the invention.

FIG. 2 illustrates a flowchart describing the printing of a document with codes corresponding to the contents of layers associated with document sections, according to some embodiments of the invention.

FIG. 3 illustrates a method for adding encoded data to printed documents according to some embodiments of the invention.

FIG. 4 depicts a flowchart for extracting layer data from a printed document according to some embodiments of the invention.

DETAILED DESCRIPTION

In accordance with the present invention, methods and systems are provided for securing and maintaining document integrity. In some embodiments, an encoding is generated for each section of a document and, is based at least in part on the contents of the section and/or on document layers associated with that section. In at least some embodiments, the code may be stored in a document layer, and a representation of the encoded information may be printed along with the document.

In some embodiments, a physical document that does not contain any encoded information may be scanned and digitized. In some embodiments, the scanned document is processed using character recognition and/or image processing algorithms to extract document content. An code may then be generated for various document sections based, at least in part, on the content of those sections, and the document may be printed with a representation of the generated code.

In some embodiments, the space available on each document section and the space needed to print the code are determined. If there is adequate space, the code may be printed on blank or empty portions of the document, such as, for example, the document margins. In some embodiments, if there is inadequate physical space to print the code within the document, the codes may be printed after the last page or last section of the document.

In some methods for preserving and maintaining document integrity, a printed document that includes encoded data may be scanned and digitized. In some embodiments, content may be extracted from the scanned document using character recognition and/or image processing techniques. In some embodiments, content may also be extracted from the encoded data printed on the document. In some methods for preserving and maintaining document integrity, extracted encoded data may be stored as a document layer.

FIG. 1 illustrates an exemplary system for preserving and maintaining document integrity according to embodiments of the invention. A computer software application consistent with the present invention may be deployed on a network of computers, as shown in FIG. 1, that are connected through communication links that allow information to be exchanged using conventional communication protocols and/or data port interfaces.

As shown in FIG. 1, exemplary system 100 includes a computing device 110 and a server 130. Further, computing device 110 and server 130 may communicate over a connection 120, which may pass through network 140. Computing device 110 may be a computer workstation, desktop computer, laptop computer, or any other computing device capable of being used in a networked environment. Server 130 may be a platform capable of connecting to computing device 110 and other devices (not shown). Computing device 110 and server 130 may be capable of executing document-processing software (not shown) that allows the creation, editing, storing and processing of electronic documents. Document processing software could include commercially available document processing software such as Microsoft Word, Adobe Acrobat, or similar software. Documents created using the document processing software may be stored on computing device 110 or server 130 and made available to an application for preserving and maintaining document integrity according to embodiments of the invention.

Computing device 110 may also comprise removable media drive 150. Removable media drive 150 may include, for example, 3.5 inch floppy drives, CD-ROM drives, DVD ROM drives, CD±RW or DVD±RW drives, USB flash drives, and/or any other removable media drives consistent with embodiments of the present invention. In some embodiments consistent with the present invention, portions of the software application may reside on removable media and be read and executed by computing device 110 using removable media drive 150. In some embodiments, documents processed by applications executing methods for preserving and maintaining document integrity consistent with present invention may be stored on removable media and accessed through removable media drive 150.

Connection 120 couples computing device 110, server 130, printer 160, and scanner 170 and may be implemented as a wired or wireless connection using conventional communication protocols and/or data port interfaces. In general, connection 120 can be any communication channel that allows transmission of data between the devices. In one embodiment, for example, the devices may be provided with conventional data ports, such as Universal Serial Bus (“USB”), Small Computer Systems Interface (“SCSI”), IEEE 1394 High Performance Serial Bus (“Firewire”), and/or coaxial cable ports for transmission of data through the appropriate connection 120. In some embodiments, connection 120 may be a low-bandwidth connection, for example, a Digital Subscriber Line (DSL), an Asymmetric Digital Subscriber Line (ADSL), or a cable connection.

Network 140 may be, for example a Local Area Network (LAN), a Wide Area Network (WAN), or the Internet. In some embodiments consistent with the present invention, information sent over network 140 may be encrypted to ensure the security of the data being transmitted.

Printer 160 and Scanner 170 are connected to network 140 through connection 120. In some embodiments, printer 160 and scanner 170 may be connected directly to computing device 110 and/or server 130. Printer 160 may be used to print documents containing encoded information, such as two-dimensional bar codes, in accordance with some methods for preserving and maintaining document integrity. In some embodiments, the information contained in the document, as well as meta-data information associated with the document, such as indexing information, content descriptions, access lists, times of creation, editing, etc., may be encoded and stored as a document layer. In some embodiments, the encoded information may be printed on paper or other media using a two-dimensional bar code, or other machine-readable formats. In some embodiments, printer 170 may be a color printer capable of printing encoded information in the form of multi-colored two-dimensional bar codes. Documents stored on computing device 110, server 130, or on removable media may be printed on printer 170. Scanner 160 may be used to scan documents, including printed documents containing encoded information, in accordance with some methods of preserving and maintaining document integrity. Both printer 170 and scanner 160 may contain automatic document feeders to allow batch processing of documents. In some embodiments, scanner 160 may be capable of reading machine-readable code printed on documents. In some embodiments, documents scanned using scanner 170 may be stored on computing device 110 and/or server 130 for additional processing.

A computer software application consistent with the present invention may be deployed on any of the exemplary computers, as shown in FIG. 1. For example, computing device 110 could execute software that may be downloaded directly from server 130. In some embodiments a software application implementing methods for preserving and maintaining document integrity may be distributed between the various computing systems shown in FIG. 1.

FIG. 2 is a flowchart describing one exemplary method of printing of a document with codes corresponding to the contents of layers associated with document pages, or sections, according to the invention. In some embodiments, an application implementing steps in flowchart 200 may be executed on computing device 110, or server 130. The application may operate on electronic documents stored on computing device 110 or server 130. In step 210, an instruction to print an electronic document is received by the application. In some embodiments, the application may receive the electronic document from another application, such as a document or word processing program. In some embodiments, the electronic document may have been created using document processing software, and an application executing steps in a method for preserving and maintaining document integrity may be embedded or linked to the document processing system, so that the execution of a “print” command on a document from within the document-processing system may invoke the embedded or linked application according to embodiments of the invention. For example, a user who wants to print an electronic document may be provided with a menu choice that allows the user to preserve layer data in the printed form of the document. If a user elects to preserve layer data in the printed document, the “print” command in the word processing system may invoke the linked application to preserve and maintain the integrity of the document prior to its actual printing. In step 220, the application determines if there is layer data, or encoded information associated with the electronic document. If there is no layer data or encoded information associated with the document, a user may create layer data or, encoded information pertaining to the document in step 225. If a user chooses not to create any layer data pertaining to document information then the contents of the document are printed in step 280. If a user chooses to create layer data pertaining to document information, then in step 225, layer data may be generated for documents that do not have such information associated with them. For example, an index of the contents of each document section may be generated and stored as a document layer. In step 240, if layer data is already present, then some or all of the layer data may be selected for encoding and printing along with the document's contents. For example, information contained in document layers, such as an index of the document's contents, may be encoded and the code associated with the document. When the electronic document is finally printed, the code associated with the document may be represented in the printed version of the document in any machine-readable format, such as for example, a two-dimensional bar code. In the electronic version of a document, the code may be represented electronically in any manner that facilitates the printing of a machine-readable form of the code.

In step 260, the space available on a page to print the code is compared with the space needed to print the code. For example, the space required by a two-dimensional bar code containing the layer data for a page may be compared with the space available in the bottom margin for that page. If there is sufficient space on each page or document section to print the machine-readable code then, in step 270, the code is printed along with the contents of the page or document section. If there is inadequate space to print the machine-readable code, then the code may be printed at the end of the document in step 290. In some embodiments, a machine-readable marker may be printed on each page to indicate that the codes corresponding to each page or document section have been printed following the end of the document. In some embodiments, the marker printed on a page may contain information regarding the location or page number of the machine-readable code for that page.

FIG. 3 is a flowchart 300 illustrating the steps of an exemplary method adding encoded data or layer information to printed documents according to some embodiments of the invention. In some embodiments, steps in flowchart 300 may be performed by computing device 110 or server 130. In step 310, the printed document is scanned by, for example, scanner 160. In step 320, the scanned data is digitized and processed. In some embodiments, some initial processing of the scanned document may occur at scanner 160, before the scanned document transferred to computing device 110 or server 130. For example, the scanner may translate the scanned document into an image format requested by the application, such as the Portable Document Format (“PDF”) or the Tagged Image File Format (“TIFF”). In step 330, the scanned document is processed further using standard character recognition and/or image processing techniques. Character recognition algorithms are well known and widely used, and may include, for example, Optical Character Recognition (OCR) techniques, which apply algorithms that use fonts, distance and/or feature points to extract content from scanned images. In some embodiments, the scanned image may also be processed using well-known image processing algorithms. For example, object segmentation techniques may used to construct and extract document objects from aggregations of pixels. In step 340, image processing techniques may be used to determine the physical boundaries of the content in the scanned document, or to identify blank spaces on document pages or sections.

In step 350, the extracted document content may be processed to generate additional information pertaining to the document. For example, an index may be created based on the contents of the documents. In general, the type of information created may depend on a variety of factors, such as the nature of the document, user applications, and user-defined policies associated with the document. In some embodiments, additional information that is generated may be encoded into machine-readable code and stored as a document layer.

In step 360, the space available on each page or document section is compared with the size need to print the machine-readable code. If there is sufficient space on each page or document section to print the machine-readable code then, in step 370, the code is printed along with the contents of the page or document section. If there is inadequate space to print the machine-readable code, then the code may be printed at the end of the document, in step 390. In some embodiments, a machine-readable marker may be printed on each page to indicate that the codes corresponding to each page or document section have been printed following the end of the document. In some embodiments, the marker printed on a page may contain information regarding the location, or page number of the machine-readable code for that page.

FIG. 4 depicts a flowchart for extracting layer data from a printed document containing encoded information according to some embodiments of the invention. In some embodiments, steps in flowchart 400 may be performed by components depicted in system 100 under the control of an application program running on computing device 110 or server 130. In step 410, the printed document containing machine-readable code is scanned. In some embodiments, scanning of the document may be performed by scanner 160. In some embodiments, scanner 160 may also be capable of reading the machine-readable code, such as an exemplary two-dimensional bar code, printed on documents. In step 420, the scanned data is digitized and processed. In step 430, the scanned document is processed further using standard character recognition and/or image processing techniques. Character recognition algorithms include, for example, Optical Character Recognition (OCR) techniques, which apply algorithms that use fonts, distance, and/or feature points to extract content from scanned images. In some embodiments, the scanned image may also be processed using well-known image processing algorithms. For example, object segmentation techniques may used to construct and extract document objects from aggregations of pixels. In step 440, the encoded machine-readable code printed on the document may be extracted and/or processed. For example, a two-dimensional bar code may be processed to extract information pertaining to the document. In step 450, the information contained in, and extracted from, the machine-readable code printed on the document is stored with the document. In some embodiments, the document and the code may be stored as document layers.

Further, methods consistent with embodiments of the invention may conveniently be implemented using program modules, hardware modules, or a combination of program and hardware modules. Such modules, when executed, may perform the steps and features disclosed herein, including those disclosed with reference to the exemplary flow charts shown in the figures. The operations, stages, and procedures described above and illustrated in the accompanying drawings are sufficiently disclosed to permit one of ordinary skill in the art to practice the invention. Moreover, there are many computers and operating systems that may be used in practicing embodiments of the instant invention and, therefore, no detailed computer program could be provided that would be applicable to these many different systems. Each user of a particular computer will be aware of the language, hardware, and tools that which are most useful for that user's needs and purposes.

The above-noted features and aspects of the present invention may be implemented in various environments. Such environments and related applications may be specially constructed for performing the various processes and operations of the invention, or they may include a general-purpose computer or computing platform selectively activated or reconfigured by program code to provide the functionality. The processes disclosed herein are not inherently related to any particular computer or other apparatus, and aspects of these processes may be implemented by any suitable combination of hardware, software, and/or firmware. For example, various general-purpose machines may be used with programs written in accordance with teachings of the invention, or it may be more convenient to construct a specialized apparatus or system to perform the required methods and techniques.

Embodiments of the present invention may be implemented as computer-readable media that include program instructions or program code for performing various computer-implemented operations. The program instructions may be those specially designed and constructed for the purposes of the invention, or they may be of the kind well known and available to those having skill in the computer software arts. Examples of program instructions include, for example, machine code, such as produced by a compiler, and files containing a high-level code that can be executed by the computer using an interpreter.

Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments of the invention disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims. As such, the invention is limited only by the following claims. 

1. A method comprising: selecting document layer data for encoding; encoding the selected document layer data in a machine-readable format to form machine-readable code, the document layer data corresponding to pages of a document; determining an amount of space available on each page of the document to print a machine-readable code associated with a document layer data corresponding to that page of the document; and printing contents of a page of the document together with its associated machine-readable code, if space is available on the page to print the associated machine-readable code; or printing the associated machine-readable code separately from the contents of the page, if space available on the page is not sufficient to print the associated machine-readable code.
 2. The method of claim 1, wherein the amount of space available on each page to print associated machine-readable code is determined by a printable area based on margins of each page.
 3. The method of claim 1, wherein printing the associated machine-readable code separately, if space available on the page is not sufficient to print the associated machine-readable code further comprises: printing a machine-readable marker on the page to indicate that the machine-readable code is being printed separately; and printing the associated machine-readable code in a separate section following printed pages containing document content.
 4. The method of claim 3, wherein the marker corresponds to a start of a section containing the printed code.
 5. The method of claim 3, wherein the marker comprises an index to a location of the associated machine-readable code for the page.
 6. The method of claim 1, wherein the machine-readable code comprises a two dimensional bar code.
 7. A computer-readable medium that stores instructions, which when executed by a computer perform steps in a method for preserving and maintaining document integrity, the steps comprising: selecting document layer data for encoding, the document layer data corresponding to pages of a document; encoding the selected document layer data in a machine-readable format to form machine-readable code associated with the selected document layer data; determining an amount of space available on each page of the document to print the machine-readable code associated with document layer data corresponding to that page of the document; and printing contents of a page of the document together with its associated machine-readable code, if space is available on the page to print the associated machine-readable code; or printing the associated machine-readable code separately from the contents of the page, if space available on the page is not sufficient to print the associated machine-readable code.
 8. The method of claim 7, wherein the amount of space available on each page to print associated machine-readable code is determined by a printable area based on margins of each page.
 9. The method of claim 7, wherein printing the associated machine-readable code separately, if space available on the page is not sufficient to print the associated machine-readable code further comprises: printing a machine-readable marker on the page to indicate that the associated machine-readable code is being printed separately; and printing the associated machine-readable code in a separate section following printed pages containing document content.
 10. The method of claim 9, wherein the marker corresponds to a start of the section containing the printed associated machine-readable code.
 11. The method of claim 9, wherein the marker comprises an index to the associated machine-readable code for the page.
 12. The method of claim 7, wherein the machine-readable code comprises a two dimensional bar code.
 13. A computer readable memory containing instructions for controlling a computer system to perform steps in a method for preserving and maintaining document integrity, the steps comprising: selecting document layer data for encoding; encoding the selected document layer data in a machine-readable format to form machine-readable code, the document layer data corresponding to pages of a document; determining an amount of space available on each page of the document to print a machine-readable code associated with a document layer data corresponding to that page of the document; and printing contents of a page of the document together with its associated machine-readable code, if space is available on the page to print the associated machine-readable code; or printing the associated machine-readable code separately from the contents of the page, if space available on the page is not sufficient to print the associated machine-readable code.
 14. A computer processor executing instructions that perform steps in a method for preserving and maintaining document integrity, the steps comprising: selecting document layer data for encoding, the document layer data corresponding to pages of a document; encoding the selected document layer data in a machine-readable format to form machine-readable code associated with the selected document layer data; determining an amount of space available on each page of the document to print the machine-readable code associated with document layer data corresponding to that page of the document; and printing contents of a page of the document together with its associated machine-readable code, if space is available on the page to print the associated machine-readable code; or printing the associated machine-readable code separately from the contents of the page, if space available on the page is not sufficient to print the associated machine-readable code.
 15. A system for preserving and maintaining document integrity comprising: a selecting component configured to select document layer data for encoding; an encoding component configured to encode the selected document layer data in a machine-readable format; a determining component configured to determine an amount of space available on each page of a document to print code corresponding to document layer data associated with that page of the document; and a printing component configured to: print contents of a page of the document together with its associated machine-readable code, if space is available on the page to print the machine-readable code; or print the machine-readable code separately from contents of the page, if space available on the page is not sufficient to print the machine-readable code.
 16. A method of retrieving contents of document pages and meta-data associated with document pages from a printed document containing machine-readable code comprising: scanning the printed document containing the machine-readable code to create scanned document data; processing the scanned document data to extract document content; processing the machine-readable code to extract document meta-data; and associating the extracted document meta-data with the extracted document content.
 17. The method of claim 16, wherein scanning the printed document further comprises reading the machine-readable code from the printed document.
 18. The method of claim 16, wherein processing the scanned document data to extract document content further comprises using at least one of character recognition and image processing techniques on the scanned document data.
 19. The method of claim 16, wherein the machine-readable code comprises a two-dimensional bar code.
 20. The method of claim 16, wherein processing the machine-readable code to extract document meta-data further comprises correlating data read from the machine-readable code with contents of the document.
 21. The method of claim 16, wherein associating the extracted document meta-data with the extracted document content further comprises storing the extracted document meta-data as a document layer.
 22. A computer readable medium containing instructions for controlling a computer system to perform steps in a method for retrieving contents of document sections and meta-data associated with document sections from a printed document containing machine-readable code, the steps comprising: scanning the printed document containing the machine-readable code to create scanned document data; processing the scanned document data to extract document content; processing the machine-readable code to extract document meta-data; and associating the extracted document meta-data with the extracted document content.
 23. The method of claim 22, wherein processing the scanned document data to extract document content further comprises using at least one of character recognition and image processing techniques on the scanned document data.
 24. The method of claim 22, wherein processing the machine-readable code to extract document meta-data further comprises correlating data read from the machine-readable code with contents of the document.
 25. The method of claim 22, wherein associating the extracted document meta-data with the extracted document content further comprises storing the extracted document meta-data as a document layer.
 26. A processor executing instructions for controlling a computer system to perform steps in a method for retrieving contents of document sections and meta-data associated with document sections from a printed document containing machine-readable code, the steps comprising: scanning the printed document containing the machine-readable code to create scanned document data; processing the scanned document data to extract document content; processing the machine-readable code to extract document meta-data; and associating the extracted document meta-data with the extracted document content.
 27. A computer readable memory containing instructions for controlling a computer system to perform steps in a method for retrieving contents of document sections and meta-data associated with document sections, from a printed document containing machine-readable code, the steps comprising: scanning the printed document containing the machine-readable code to create scanned document data; processing the scanned document data to extract document content; processing the machine-readable code to extract document meta-data; and associating the extracted document meta-data with the extracted document content.
 28. A system for retrieving the content of document sections and meta-data associated with document sections from a printed document containing machine-readable code comprising: a scanning component configured to scan the printed document containing the machine-readable code to create scanned document data; a document processing component to process the scanned document section data to extract document content; a code processing component to process the machine-readable code to extract document meta-data; and an associating component to associate the extracted document meta-data with the extracted document content. 